/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.deram.ctin.serv.system.service;


import com.deram.ctin.serv.system.entity.SysUser;
import org.springframework.stereotype.Repository;

/**
 * @author zhangcm
 * @version 1.0, 2017/8/27
 */

public interface SysUserService {

    SysUser find(Long id, Integer type);

    SysUser findByUsername(String username, Integer type);

    SysUser create(SysUser param);

    void updatePassword(Long id, String newPassword);

    void delete(Long id);
}
